package com.yn.common.request.zyorder;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 服务项_区域价格表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="服务项_区域价格表对象", description="服务项_区域价格表")
public class ZyServiceRegionPriceRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "服务项id")
    @NotNull(message = "服务项id不能为空")
    private Integer serviceConfigId;

    @ApiModelProperty(value = "区域范围")
    private Integer regionRange;

    @ApiModelProperty(value = "区域范围价格")
    private Integer regionRangePrice;

    @ApiModelProperty(value = "单价")
    @NotNull(message = "单价不能为空")
    private Integer unitPrice;

    @ApiModelProperty(value = "区域")
    private String regionCode;

    @ApiModelProperty(value = "佣金")
    private Integer commissionMoney;

    @ApiModelProperty(value = "积分")
    private Integer commissionPoints;


}
